class A {
    {
        System.out.println(1);
    }
}
class B extends A {
    {
        System.out.println(1);
    }
}
class C extends B{
    {
        System.out.println(1);
    }
}
class Dog extends C {
    {
        System.out.println(1);
    }
}
//
public class Test {
    public static void main(String[] args) {
        A a0=new A();
        System.out.println("=======");
        A a1=new B();
        System.out.println("=======");
        A a2=new C();
    }
}
